﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PennApps;
using System.Collections.ObjectModel;
using System.ComponentModel;

namespace MyMumsPC.DataModel
{
    public class ProcessPerformanceInformationGroup : INotifyPropertyChanged
    {

        public ProcessPerformanceInformationGroup()
        {
            Collection = new ObservableCollection<ProcessPerformanceInformationExtended>();
        }
        ObservableCollection<ProcessPerformanceInformationExtended> collection;
        public ObservableCollection<ProcessPerformanceInformationExtended> Collection
        {
            get
            {
                return collection;
            }
            set
            {
                collection = value;
                if (PropertyChanged != null)
                {
                    PropertyChanged(this, new PropertyChangedEventArgs("Collection"));
                }
            }
        }

        public event PropertyChangedEventHandler PropertyChanged;
    }

}
